package com.uoko.plugins.redis.common;

/**
 * <p>
 *  redis 存json，输出json
 * </p>
 *
 * @author shaohua
 * Email shaohua@uoko.com
 * created by 2018/6/5
 */
public interface RedisJson {

    void set(String key, Object value, long expire);

    void set(String key, Object value);

    <T> T get(String key, Class<T> clazz, long expire);

    <T> T get(String key, Class<T> clazz);

    String get(String key, long expire);

    String get(String key);

    void delete(String key);
}
